package adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import bean.ItemBean;
import bean.NoteBean;
import student.andlei.com.student.R;
import utils.StringUtils;

public class PrePareTaskNoteAdapter extends BaseQuickAdapter<ItemBean,BaseViewHolder>{

    private Context context;
    public PrePareTaskNoteAdapter(Context context, int layoutResId, @Nullable List data) {
        super(layoutResId, data);
        this.context = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, ItemBean item) {

//        helper.setText(R.id.tv_note_title, StringUtils.isNull(item.title)?"-":item.title);
//        helper.setText(R.id.tv_note_content, StringUtils.isNull(item.content)?"-":item.content);
//        helper.setText(R.id.tv_note_time, StringUtils.isNull(item.time)?"-":item.time);
    }


}
